#!/bin/bash

if [[ -z $1 ]]; then #is null
	exit 1
fi

if [ -f $1 ]; then
	echo "are you sure you want to remove it?"
	read -s line # opcja -s jesli ma byc w silent mode
	echo "wpisales $line" > result.txt

	if [[ $line == rob* ]]; then
		echo "haslo prawidlowe gratuluje"
	fi
fi

echo "KONIEC"

#READ v

#echo $v

